package com.wuxiaofan.ware.mapper;
import org.springframework.stereotype.Component;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wuxiaofan.ware.entity.Purchase;
import com.wuxiaofan.ware.entity.custom.PurchaseCustom;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;
import java.util.List;
import java.util.Map;

/**
 *采购信息
 */
@Component
public interface PurchaseMapper extends BaseMapper<Purchase> {
    public List<PurchaseCustom> findByMap(@Param("map") Map paraMap, Page page);

    public List<PurchaseCustom> findByMap(@Param("map") Map paraMap);

    public PurchaseCustom findCountByMap(@Param("map") Map paraMap);

    public PurchaseCustom findGroupByMap(@Param("map") Map paraMap);


    public void updateMapById(@Param("map") Map paraMap);
}
